package com.jumi.microservice.constant;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author Dirk
 * @Date 2020-08-27 11:20
 */
public enum UnionPayWayEnum implements AbstractEnum<String> {

    /**
     * 聚合支付渠道
     */
    UNION_WX_PAY("97", "微信支付"),
    UNION_ALI_PAY("98", "支付宝支付"),
    UNION_CLOUD_PAY("94", "云闪付"),
    UNION_NO_CARD_PAY("UP", "无卡在线支付");

    UnionPayWayEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private String code;

    private String desc;

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
